package cn.rongdao.jrkabao.ui.message.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.message.SystemMessageBean;
import cn.rongdao.jrkabao.ui.message.uicomponent.SystemMessageUIComponent;

/**
 * Created by jack on 2017/8/21
 */

public class SystemMessageViewHolder extends FRBaseRecyclerViewHolder<SystemMessageBean> {

    private SystemMessageUIComponent systemMessageUIComponent;

    public SystemMessageViewHolder(View view) {
        super(view);
        systemMessageUIComponent = (SystemMessageUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(SystemMessageBean systemMessageBean) {
        systemMessageUIComponent.setContent(systemMessageBean);
    }
}
